package com.sanyu.lovefishing.data;

import com.lyf.core.data.ParmsMap;
import com.sanyu.lovefishing.bean.WeatherBean;

import java.util.List;

import io.reactivex.rxjava3.core.Observable;
import okhttp3.MultipartBody;
import okhttp3.ResponseBody;
import retrofit2.Call;
import retrofit2.http.Body;
import retrofit2.http.GET;
import retrofit2.http.HTTP;
import retrofit2.http.Header;
import retrofit2.http.Multipart;
import retrofit2.http.POST;
import retrofit2.http.PUT;
import retrofit2.http.Part;
import retrofit2.http.Path;
import retrofit2.http.Query;
import retrofit2.http.QueryMap;

public interface ApplicationApi {


    //首页banner
    @GET("https://api.openweathermap.org/data/2.5/weather")
    Observable<WeatherBean> getTodayWeather (@Query("lat") double lat, @Query("lon") double lon, @Query("appid") String appid);


}

